var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var orderSchema = new Schema({
    //这里根据你的数据库的内容来更改
    "state": Number,
    "price": Number,
    "title": String,
    "type": Number,
    "picture": Array,
    "note": String,
    "task_time": String,
    "openid": String,
    "taker": String,
    "publish_time": String,
});
module.exports = mongoose.model('order_list', orderSchema, 'order_list');